import vueParser from 'vue-eslint-parser'
import tseslint from '@electron-toolkit/eslint-config-ts'

export const vueConfig = () => {
  return [
    {
      files: ['**/*.vue'],
      languageOptions: {
        parser: vueParser,
        parserOptions: {
          ecmaFeatures: {
            jsx: true
          },
          extraFileExtensions: ['.vue'],
          parser: tseslint.parser
        }
      }
    }
  ]
}
